﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web;

namespace WCFServiceWebRole1
{
    [ServiceContract]
    public interface IInformation
    {
        [OperationContract]
        IEnumerable<Infomation> GetByAllInformation();

        [OperationContract]
        Boolean InsertInformation(Infomation ifodata);

        [OperationContract]
        Boolean UpdateInformation(Infomation ifodata);

        [OperationContract]
        Boolean DeleteIformation(string id);
    }

    //[DataContract]
    //public class InformationData
    //{
    //    [DataMember]
    //    public int ID;
    //    [DataMember]
    //    public string FirstName;
    //    [DataMember]
    //    public string LastName;
    //    [DataMember]
    //    public DateTime Birthday;
    //    [DataMember]
    //    public string Local;
    //    [DataMember]
    //    public int Phone;

    //}
}